﻿using System.Text.RegularExpressions;

namespace VASJ.Common
{
    public class RegularExpression
    {
        public static bool IsMatches(Regex regex, string input)
        {
            if (string.IsNullOrEmpty(input))
                return false;
            return regex.Match(input).Success;
        }
    }
}
